#!/bin/sh
nt=`date "+%Y%m%d"`
/opt/lagou/servers/hive-2.3.7/bin/hive -e "use mydb;
load data inpath '/user_clicks/$nt/*' INTO TABLE user_clicks PARTITION (dt='$nt');"
